package com.xtck.ha.fault.core.service;


import com.xtck.ha.common.core.web.domain.AjaxResult;
import com.xtck.ha.fault.core.model.DsModInfo;
import java.util.List;
import com.xtck.ha.common.core.web.service.IBaseService;
import com.xtck.ha.fault.framework.utils.JsonResult;
import com.xtck.ha.fault.modules.pojo.entity.ModInfo;
import com.xtck.ha.fault.modules.pojo.vo.ModInfoVO;
import org.springframework.web.multipart.MultipartFile;

/**
* @ClassName: DsModInfoService
* @Description: DsModInfo业务访问接口
* @author zhoutanxin
* @date 2025-07-01
*/
public interface DsModInfoService extends IBaseService<DsModInfo> {
    /**
     * 启动模型服务
     * @param modInfo 模型信息
     * @return 结果日志
     */
    AjaxResult startAlgorithmServer(DsModInfo modInfo);

    /**
     * 停止模型服务
     * @param modInfo 模型信息
     * @return 结果日志
     */
    AjaxResult stopAlgorithmServer(DsModInfo modInfo);

    AjaxResult add(DsModInfo vo, MultipartFile algorithmFile);
}

